.class final Lcom/instagram/android/fragment/az;
.super Lcom/instagram/android/d/j/a;
.source "EditProfileFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/a",
        "<",
        "Ljava/lang/Boolean;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/al;


# direct methods
.method private constructor <init>(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 705
    iput-object p1, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-direct {p0}, Lcom/instagram/android/d/j/a;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/android/fragment/al;Lcom/instagram/android/fragment/am;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 705
    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/az;-><init>(Lcom/instagram/android/fragment/al;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    .line 709
    invoke-super {p0}, Lcom/instagram/android/d/j/a;->a()V

    .line 710
    iget-object v0, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-static {v0}, Lcom/instagram/android/fragment/al;->i(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IndeterminateCheckBox;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setEnabled(Z)V

    .line 711
    iget-object v0, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-static {v0}, Lcom/instagram/android/fragment/al;->i(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IndeterminateCheckBox;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setIndeterminate(Z)V

    .line 712
    return-void
.end method

.method protected a(Lcom/instagram/android/d/j/j;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Ljava/lang/Boolean;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 734
    iget-object v0, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/al;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->privacy_fail:I

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 735
    return-void
.end method

.method protected a(Ljava/lang/Boolean;)V
    .locals 3
    .parameter

    .prologue
    .line 723
    const-string v0, "EditProfileFragment"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "User is now private? "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 724
    iget-object v0, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-static {v0}, Lcom/instagram/android/fragment/al;->i(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IndeterminateCheckBox;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setChecked(Ljava/lang/Boolean;)V

    .line 725
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/instagram/android/model/b/h;->c:Lcom/instagram/android/model/b/h;

    :goto_0
    invoke-virtual {v1, v0}, Lcom/instagram/android/model/b/e;->a(Lcom/instagram/android/model/b/h;)V

    .line 730
    return-void

    .line 725
    :cond_0
    sget-object v0, Lcom/instagram/android/model/b/h;->b:Lcom/instagram/android/model/b/h;

    goto :goto_0
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 705
    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p0, p1}, Lcom/instagram/android/fragment/az;->a(Ljava/lang/Boolean;)V

    return-void
.end method

.method public b()V
    .locals 2

    .prologue
    .line 716
    invoke-super {p0}, Lcom/instagram/android/d/j/a;->b()V

    .line 717
    iget-object v0, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-static {v0}, Lcom/instagram/android/fragment/al;->i(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IndeterminateCheckBox;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setEnabled(Z)V

    .line 718
    iget-object v0, p0, Lcom/instagram/android/fragment/az;->a:Lcom/instagram/android/fragment/al;

    invoke-static {v0}, Lcom/instagram/android/fragment/al;->i(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IndeterminateCheckBox;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setIndeterminate(Z)V

    .line 719
    return-void
.end method
